using System;
using System.Collections.Generic;
using System.Text;
using System.Management;

namespace DependencyTest
{
    public class WmiDependency : DependencyBase
    {
        public override bool Check()
        {
            ManagementObjectSearcher searcher = Helpers.WmiHelper.RunWMIQuery(this.Config);
            if (searcher.Get().Count>0)
            {
                return true;
            }
            return false;
        }
    }
}
